/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.monitor.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author Blade
 * @since 2020-08-18
 */
@Data
@TableName("blade_t_chain_source")
@ApiModel(value = "ChainSource对象", description = "ChainSource对象")
public class ChainSource implements Serializable {

    private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
    /**
     * IP地址
     */
    @ApiModelProperty(value = "IP地址")
    private String ip;
    /**
     * 端口号
     */
    @ApiModelProperty(value = "端口号")
    private Integer port;
    /**
     * 用户名
     */
	@JsonIgnore
    @ApiModelProperty(value = "用户名")
    private String username;
    /**
     * 密码
     */
	@JsonIgnore
    @ApiModelProperty(value = "密码")
    private String pwd;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 链路 源设备名称
     */
    @ApiModelProperty(value = "链路 源设备名称")
    private String sourceName;

	/**
	 * 命令
	 */
	@ApiModelProperty(value = "检测命令；页面不予展示")
	@JsonIgnore
	private String command;

	/**
	 * 连接异常包含的字符
	 */
	@ApiModelProperty(value = "连接异常包含的字符；页面不予展示")
	@JsonIgnore
	private String failureStr;

}
